Reading a logging level from JSON but not interpreting it as a string